package com.hanliy.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hanliy.dao.UserDao;
import com.hanliy.entity.UserEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author hanyulin
 * @apiNote
 * @date 2021/12/20 15:44
 */
@Service
public class UserService {

    @Autowired
    private UserDao userDao;

    public Page<UserEntity> page(Page page, Map<String, Object> params){
        return userDao.page(page,params);
    }
}
